package cn.xi.controller;

import cn.xi.domain.GeneralResult;
import cn.xi.domain.Student;
import com.github.pagehelper.PageInfo;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ControllerHe {
    GeneralResult save(Student student);
    Student findbyid(String name);
    GeneralResult update(Student student);
    GeneralResult delete(String name);
    PageInfo findpage(Integer page, Integer size);
}
